package com.mvp.shq.washer.ui.forgetPWD;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/8/24.
 */

public interface ForgetPWDConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<String>> forget(String mobile,String code,String pwd,String timestamp,String sign);
        Observable<BaseResult<String>> code(String mobile);
    }
    interface View extends BaseView{
        void rSuccess();
        void rFial(String msg);
        void codeSuccess();
        void codeFail(String msg);
    }
    public abstract class Presenter extends BasePresenter<Model,View>{
        abstract void forget(String mobile,String code,String pwd);
        abstract void code(String mobile);
    }
}
